package com.jason.www.disruptor.multievent;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Component;

@Component
public class AHandler implements MultiEventHandler{
    private static final Logger LOGGER = Logger.getLogger(AHandler.class);

    @Override
    public void onEvent(MultiEvent multiEvent, long sequence, boolean endOfBatch){
        String msg = multiEvent.getMsg();
        LOGGER.info("AHandler异步执行：" + msg);
    }
}
